<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	
	page{
		font-size: 16px;
	}
	.ys-6{
		width: 50%;
	}
	.ys-3{
		width: 25%;
	}
	.ys-right{
		text-align: right;
	}
	.ys-mid{
		text-align: center;
	}
	/* 解决H5 的问题 */
	/* #ifdef H5 */
	uni-scroll-view .uni-scroll-view::-webkit-scrollbar {
	/* 隐藏滚动条，但依旧具备可以滚动的功能 */
	display: none;
	width: 0 !important;
	height: 0 !important;
	-webkit-appearance: none;
	background: transparent;
	color: transparent;
	}
	/* #endif */
	uni-page-wrapper{
		background: #f7f7f7;
	}
	/* 多选 */
	uni-checkbox-group {
		width: 100% !important;
		border-radius: 50%;
	}

	uni-checkbox-group uni-label {
		width: 33% !important;
		display: inline-flex;
		margin-bottom: 20rpx;
		
		border-radius: 50%;
		
	}

	/*checkbox 选项框大小  */
	uni-checkbox .uni-checkbox-input {
		width: 35rpx !important;
		height: 35rpx !important;
		border-color: #E6E6E6;
		border-radius: 50%;
		background-color: #E6E6E6;
	}

	/*checkbox选中后样式  */
	uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked {
		background: #DBB584;
		border-radius: 50%;
		
	}

	/*checkbox选中后图标样式  */
	uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked::before {
		width: 35rpx;
		height: 35rpx;
		line-height: 35rpx;
		text-align: center;
		font-size: 22rpx;
		color: #fff;
		background: transparent;

	}
	uni-checkbox:not([disabled]) .uni-checkbox-input:hover{
		border-color: #E6E6E6;
	}
	/* 单选 */
	uni-radio-group {
		width: 100% !important;
		border-radius: 50%;
	}
	
	uni-radio-group uni-label {
		width: 33% !important;
		display: inline-flex;
		margin-bottom: 20rpx;
		
		border-radius: 50%;
		
	}
	
	/*radio 选项框大小  */
	 .uni-radio-input {
		width: 35rpx !important;
		height: 35rpx !important;
		border-color: #E6E6E6;
		border-radius: 50%;
		background-color: #E6E6E6;
	}
	
	/*radio选中后样式  */
	uni-radio .uni-radio-input.uni-radio-input-checked {
		background: #DBB584 !important;
		border-color: #DBB584 !important;
		border-radius: 50%;
		
	}
	
	/*radio选中后图标样式  */
	uni-radio .uni-radio-input.uni-radio-input-checked::before {
		width: 35rpx;
		height: 35rpx;
		line-height: 35rpx;
		text-align: center;
		font-size: 22rpx;
		color: #fff;
		background: transparent;
	
	}
	uni-radio:not([disabled]) .uni-radio-input:hover{
		border-color: #E6E6E6;
	}
	.btn {
		width: 60%;
		height: 90rpx;
		line-height: 90rpx;
		text-align: center;
		margin: 30rpx auto;
		color: #fff;
		background: linear-gradient(to right, #4e9c6e, #265238);
		border-radius: 10rpx;
	}
	
</style>
